package vn.vfriends.games.service;

import java.io.Serializable;
import java.util.List;
import vn.vfriends.games.jpa.entity.Game;

/**
 *
 * @author tuan@vfriends.vn
 */
public interface GameService extends Serializable {
    public void create(Game game) throws Exception;

    public void edit(Game game) throws Exception;

    public void destroy(Long id) throws Exception;

    public List<Game> findGames();

    public Game findGame(Long id);
    
    public int getGameCount();

    public List<Game> findDisplayGames();
}
